package com.winsdom.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "收款记录查询参数")
public class ReceivePaymentDTO {
    @ApiModelProperty(value = "每页条数")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;

    @ApiModelProperty(value = "当前页码")
    @NotNull(message = "当前页码不能为空")
    private Integer currentPage;

    @ApiModelProperty(value = "账单id")
    @NotNull(message = "账单id不能为空")
    private Long billsId;
}
